﻿using System;

namespace DMZS.Model
{
    /// <summary>
    /// DlyStorage:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class DlyStorage
    {
        public DlyStorage()
        {
        }
        private string _ktypeid = string.Empty;
        private string _ptypeid = string.Empty;
        private decimal? _qty = 0M;
        private decimal? _price = 0M;
        private decimal? _total = 0M;
        private DateTime? _date = DateTime.Now;
        private int? _ordertype = 0;
        private int? _ordercode = 0;
        private int? _orderdlycode = 0;
        private string _deptid = string.Empty;
        private int? _pstutas = 0;
        private int? _unit = 0;
        private string _comment = string.Empty;
        /// <summary>
        ///
        /// </summary>
        public decimal? Vchcode { get; set; }
        /// <summary>
        ///
        /// </summary>
        public string ktypeid
        {
            set
            {
                _ktypeid = value;
            }
            get
            {
                return _ktypeid;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string ptypeid
        {
            set
            {
                _ptypeid = value;
            }
            get
            {
                return _ptypeid;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public decimal? Qty
        {
            set
            {
                _qty = value;
            }
            get
            {
                return _qty;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public decimal? price
        {
            set
            {
                _price = value;
            }
            get
            {
                return _price;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public decimal? total
        {
            set
            {
                _total = value;
            }
            get
            {
                return _total;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime? date
        {
            set
            {
                _date = value;
            }
            get
            {
                return _date;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? OrderType
        {
            set
            {
                _ordertype = value;
            }
            get
            {
                return _ordertype;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? OrderCode
        {
            set
            {
                _ordercode = value;
            }
            get
            {
                return _ordercode;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? OrderDlyCode
        {
            set
            {
                _orderdlycode = value;
            }
            get
            {
                return _orderdlycode;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int DlyOrder { get; set; }
        /// <summary>
        ///
        /// </summary>
        public string DeptID
        {
            set
            {
                _deptid = value;
            }
            get
            {
                return _deptid;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? PStutas
        {
            set
            {
                _pstutas = value;
            }
            get
            {
                return _pstutas;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? unit
        {
            set
            {
                _unit = value;
            }
            get
            {
                return _unit;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string Comment
        {
            set
            {
                _comment = value;
            }
            get
            {
                return _comment;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? unit1 { get; set; }
        /// <summary>
        ///
        /// </summary>
        public decimal? qty1 { get; set; }
    }
}

